<html>
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8">
        <title>Visual PHPUnit</title>
        <link rel="stylesheet" href="ui/css/index.css" type="text/css" media="screen" title="no title" charset="utf-8">
    </head>
    <body>
        <div id="container">
            <script type="text/javascript" charset="utf-8">
                var marginLeft = (window.innerWidth - 960) / 2;
                document.getElementById('container').style.marginLeft = marginLeft + 'px';
            </script>
                    <div class="box rounded"> 
                        <div class="testsuite skipped"> 
                            <div class="light rounded"></div> 
                            <div class="name">SkippedTest</div> 
                            <div class="stats">Executed in 0.0010108947753906 seconds.</div> 
                            <div class="expand button">+</div> 
                        </div> 
                        <div class="more hide"> 
                            <hr class = "big" /> 
                                                        <div class="test skipped"> 
                                <div class="light rounded"></div> 
                                <div class="name">test_something_else</div> 
                                <div class="stats"><strong></strong><br />Skipped Test<br /><br />Executed in 0.0010108947753906 seconds.</div>
                                <div class="expand button">+</div>
                                <div class="more test hide"> 
                                    <div class="variables rounded hide"> 
                                        <pre></pre> 
                                    </div> 
                                    <div class="stacktrace rounded hide"> 
                                        <pre></pre> 
                                    </div> 
                                </div> 
                            </div> 
                                                    </div>
                    </div> 
                    <div class="box rounded"> 
                        <div class="testsuite failure"> 
                            <div class="light rounded"></div> 
                            <div class="name">PUTest</div> 
                            <div class="stats">Executed in 0.0021307468414307 seconds.</div> 
                            <div class="expand button">-</div> 
                        </div> 
                        <div class="more show"> 
                            <hr class = "big" /> 
                                                        <div class="test failure"> 
                                <div class="light rounded"></div> 
                                <div class="name">test_this</div> 
                                <div class="stats"><strong>test_this() failed!</strong><br />Failed asserting that &lt;string:value&gt; is equal to &lt;string:test&gt;.<br /><br />Executed in 0.0017259120941162 seconds.</div>
                                <div class="expand button">-</div>
                                <div class="more test show"> 
                                    <div class="variables rounded show"> 
                                        <pre>some stuff</pre> 
                                    </div> 
                                    <div class="stacktrace rounded hide"> 
                                        <pre></pre> 
                                    </div> 
                                </div> 
                            </div> 
                                                            <hr class="small" />
                                                        <div class="test failure"> 
                                <div class="light rounded"></div> 
                                <div class="name">test_this_too</div> 
                                <div class="stats"><strong>test_this_too() failed!</strong><br />Failed asserting that &lt;string:value&gt; is equal to &lt;string:test&gt;.<br /><br />Executed in 0.00040483474731445 seconds.</div>
                                <div class="expand button">+</div>
                                <div class="more test hide"> 
                                    <div class="variables rounded hide"> 
                                        <pre></pre> 
                                    </div> 
                                    <div class="stacktrace rounded hide"> 
                                        <pre></pre> 
                                    </div> 
                                </div> 
                            </div> 
                                                    </div>
                    </div> 
                    <div class="box rounded"> 
                        <div class="testsuite incomplete"> 
                            <div class="light rounded"></div> 
                            <div class="name">IncompleteTest</div> 
                            <div class="stats">Executed in 0.00078797340393066 seconds.</div> 
                            <div class="expand button">+</div> 
                        </div> 
                        <div class="more hide"> 
                            <hr class = "big" /> 
                                                        <div class="test incomplete"> 
                                <div class="light rounded"></div> 
                                <div class="name">test_something</div> 
                                <div class="stats"><strong></strong><br />Incomplete Test<br /><br />Executed in 0.00052809715270996 seconds.</div>
                                <div class="expand button">+</div>
                                <div class="more test hide"> 
                                    <div class="variables rounded hide"> 
                                        <pre></pre> 
                                    </div> 
                                    <div class="stacktrace rounded hide"> 
                                        <pre></pre> 
                                    </div> 
                                </div> 
                            </div> 
                                                            <hr class="small" />
                                                        <div class="test success"> 
                                <div class="light rounded"></div> 
                                <div class="name">test_something_else</div> 
                                <div class="stats"><br /><br />Executed in 0.0002598762512207 seconds.</div>
                                <div class="expand button">+</div>
                                <div class="more test hide"> 
                                    <div class="variables rounded show"> 
                                        <pre>some stuff</pre> 
                                    </div> 
                                    <div class="stacktrace rounded hide"> 
                                        <pre></pre> 
                                    </div> 
                                </div> 
                            </div> 
                                                    </div>
                    </div> 
                    <div class="box rounded"> 
                        <div class="testsuite success"> 
                            <div class="light rounded"></div> 
                            <div class="name">PUTest2</div> 
                            <div class="stats">Executed in 0.0005037784576416 seconds.</div> 
                            <div class="expand button">+</div> 
                        </div> 
                        <div class="more hide"> 
                            <hr class = "big" /> 
                                                        <div class="test success"> 
                                <div class="light rounded"></div> 
                                <div class="name">test_this</div> 
                                <div class="stats"><br /><br />Executed in 0.00025391578674316 seconds.</div>
                                <div class="expand button">+</div>
                                <div class="more test hide"> 
                                    <div class="variables rounded show"> 
                                        <pre>some stuff</pre> 
                                    </div> 
                                    <div class="stacktrace rounded hide"> 
                                        <pre></pre> 
                                    </div> 
                                </div> 
                            </div> 
                                                            <hr class="small" />
                                                        <div class="test success"> 
                                <div class="light rounded"></div> 
                                <div class="name">test_this_too</div> 
                                <div class="stats"><br /><br />Executed in 0.00024986267089844 seconds.</div>
                                <div class="expand button">+</div>
                                <div class="more test hide"> 
                                    <div class="variables rounded show"> 
                                        <pre>some stuff</pre> 
                                    </div> 
                                    <div class="stacktrace rounded hide"> 
                                        <pre></pre> 
                                    </div> 
                                </div> 
                            </div> 
                                                    </div>
                    </div> 
		</div>

	</body>
	<script src="ui/js/jquery-1.5.1.min.js"></script>
        <script>
            $(document).ready(function() {

                $('.expand.button').each(function(index) {
                    $(this).click(function(e) {
                        if ( $(this).text() == '-' ) 
                        {
                            if ( $(this).parent().hasClass('test') ) 
                            {
                                $(this).next('.more').slideUp();
                            } 
                            else 
                            {
                                $(this).parent().next('.more').slideUp();
                            }
                            $(this).text('+');
                        } 
                        else 
                        {
                            if ( $(this).parent().hasClass('test') ) 
                            {
                                $(this).next('.more').slideDown();
                            } 
                            else 
                            {
                                $(this).parent().next('.more').slideDown();
                            }
                            $(this).text('-');
                        }
                    });
                });

            });
        </script>
</html>
